package com.rightsidetech.system.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: yhr
 * @Date: 2021-11-08 10:16
 */
@Data
public class LoginAdminReq implements Serializable {
    @ApiModelProperty(value = "登录名或手机号",required = true)
    @NotBlank(message = "登录名或手机号不能为空")
    private String loginName;
    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
}
